<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- saved from url=(0052)https://yx.ibikang.com/views/zhensuo/xinjianxymb.jsp -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><link rel="stylesheet" href="../static/css/common-ypmb.css">
</head><body><div class="g-doc">
	<fieldset style="margin-bottom:0; width:1024px;border-bottom:dashed 1px #ccc;">
        <div class="crumbs-title">
          <b></b>
          
          <span>新建处方</span>
  		</div>
    </fieldset>
	<form method="post" id="formSave" onsubmit="return false;">
		<div class="second-doc clearfix">
			<div class="g-form-group ">
			   	<div class="g-shield">
				    <label class="g-label-name"><span class="glyph-star">*</span> 处方名称：</label>
				    <input type="text" class="g-input g-input-name form-control" data-rule="模板名称: required;length(1~64)" placeholder="请输入名称" data-target="#msg_holder" name="mingcheng">
			    </div>
			    
				<div class="g-shield g-radio-shield">   
				    <label class="g-label-name">处方分类：</label>
							<input type="radio" id="west-medicine" name="leixing" checked="checked" value="1">
							<label id="west-label" for="west-medicine" class="radio-label on">&nbsp;&nbsp;成药 </label>
							<input type="radio" id="chinese-medicine" name="leixing" value="2">
							<label name="europe" for="chinese-medicine" id="chinese-label" class="radio-label">&nbsp;&nbsp;草药</label>
	
				 </div>
				 <input name="chengyaoyp" type="hidden" id="chengyaoypId">
				 <input name="caoyaoyp" type="hidden" id="caoyaoypId">
				 <div class="g-shield g-radio-shield">   
				    <label class="g-label-name">状态：</label>
							<input type="radio" id="status-work" name="jinyongbz" value="1" checked="">
							<label name="chinese" id="work-label" for="status-work" class="radio-label on">&nbsp;&nbsp;启用</label>
							<input type="radio" id="status-stop" name="jinyongbz" value="0">
							<label for="status-stop" id="stop-label" class="radio-label">&nbsp;&nbsp;禁用</label>
				 </div>
				 <div class="g-shield g-radio-shield">   
				    <label class="g-label-name">是否分享：</label>
							<input type="radio" id="status-fenxiang" name="fenxiangbz" value="1">
							<label name="fenxiang" id="fenxiang-label" for="status-fenxiang" class="radio-label">&nbsp;&nbsp;是</label>
							<input type="radio" id="status-bufenxiang" name="fenxiangbz" value="0" checked="">
							<label for="status-bufenxiang" id="bufenxiang-label" class="radio-label on">&nbsp;&nbsp;否</label>
				 </div>				 
			</div>
			</div>
			<div class="third-doc chufangmb-yaopin">
		       <div class="western-medicine g-m-west">
			     <div class="chinese-head">成药处方1</div>
			     <input type="hidden" class="wm-paixu" style="display:none;" name="paixu" value="1">
		         <input type="hidden" style="display:none;" data-target="#msg_holder">
			     <div style="width:920px;margin-left:30px;">
			     <table class="table" id="chengyaoyp" style="table-layout:fixed;">
			      <thead> <tr><th style="width:250px">药品名称</th><th style="width:54px">组号</th> <th style="width:120px">用法</th><th style="width:138px">用药频率</th><th style="width:100px">每次剂量</th><th style="width:100px">开药量</th><th style="width:25px"></th></tr></thead>
			        <tbody>
			        <tr><td class="dropdown-search-li"><input type="text" class="wm-medicine-name cgmdc-input1 dropdown-toggle yaopinmc " onblur="yaowuxk(this)" data-rule="药品名称:length(1~100)" data-target="#msg_holder" name="yaopinmc" onkeyup="getYaopin(this,2)"><input type="hidden" class="wm-paixu" style="display:none;" name="paixu" value="&#39;+(len+1)+&#39;"><div class="g-wmfinp-warning" data-container="body" data-toggle="popover" data-placement="bottom" data-content=""><i class="fa fa-exclamation-triangle" aria-hidden="true"></i></div><div class="g-wmfinp-danger" data-container="body" data-toggle="popover" data-placement="bottom" data-content=""><i class="fa fa-exclamation-triangle" aria-hidden="true"></i></div><ul class="dropdown-menu li-width f-input-li yaopinmcul" style="display:none" role="menu"></ul></td>
			        <td class="dropdown-search-li"><input type="text" class="wm-group dropdown-toggle" data-rule="组号:integer[+];range[~99]" data-target="#msg_holder" name="zuhao"><ul class="dropdown-menu cgmz-jcts" style="width: 52px;" role="menu"><li>1</li><li>2</li><li>3</li><li>4</li><li>5</li><li>6</li><li>7</li><li>8</li><li>9</li></ul></td>
			        <input type="hidden" style="display:none;" name="zhensuoypid">
			        <input type="hidden" style="display:none;" name="pingtaiypid">
			        <input type="hidden" style="display:none;" name="ptuuid">
			         <td class="dropdown-search-li"><input type="text" class="input-sm  cgmdc-input3 dropdown-toggle yongfa" style="width:100%" id="chengy-yf1" name="yongfa" data-rule="成药用法:length(1~64)" data-target="#msg_holder"><ul class="dropdown-menu li-width f-input-li yongfaul" style="display:none" role="menu"></ul></td>
			         <td class="dropdown-search-li"><input class="wm-rate dropdown-toggle yongyypl cgmdc-input4" id="chengy-yongypl1" data-rule="用药频率:length(1~64)" data-target="#msg_holder" name="yongyaopl" onfocus="getZDYongyaoplBymc(this)" onkeyup="getZDYongyaoplBymc(this)"><ul class="dropdown-menu li-width f-input-li yongyyaoplul" style="display:none" role="menu"></ul></td>
			         <td class="wm-dosage-father dropdown-search-li">
			          	<input type="text" class="wm-dosage cgmdc-input51" name="dancijl" data-rule="单次剂量:range[0~];length(~8)" data-target="#msg_holder"> 
			          	<input class="wm-dosage dropdown-toggle cgmdc-input52" data-rule="剂量单位:length(1~10)" data-target="#msg_holder" name="dancijldw">
			          	<ul class="dropdown-menu li-width f-input-li dancijldw" style="display:none" role="menu">
			          	<li>片</li>
                 		<li>粒</li>
                 		<li>支</li>
                 		<li>袋</li>
                 		<li>丸</li>
                 		<li>枚</li>
                 		<li>瓶</li>
                 		<li>滴</li>
                 		<li>克</li>
     					<li>g</li>
                 		<li>ml</li>
	 					<li class="wushuju" style="padding-left:0;text-align:center;">适量</li>
						   </ul>
			         </td>
			         <td class="wm-dosage-father wm-dosage-father2 dropdown-search-li">
			          	<input type="text" class="wm-number cgmdc-input61" name="kaiyaoliang" data-rule="开药量:integer[+];length(~8)" data-target="#msg_holder">
			          	<input class="wm-dosage dropdown-toggle cgmdc-input62" data-rule="剂量单位:length(1~10)" data-target="#msg_holder" name="kaiyaodw" readonly="">
			          	<ul class="dropdown-menu li-width f-input-li kaiyaodw" style="display:none" role="menu">
						   </ul></td>
					<input type="hidden" name="danjia" value="0">
					<input type="hidden" name="chailingsl">
					<input type="hidden" name="baozhuangdw">
			        <td><span class="shanchu pointer2" data-container="body" data-toggle="popover" data-placement="bottom" data-content="清除本行"></span></td>
			     </tr>
			          </tbody>
			       </table>
			   </div></div>
		       <div class="chinese-medicine g-m-chinese" id="chinese-medicine">
			          <div class="chinese-head">草药处方1</div>
			          <input type="hidden" class="wm-paixu" style="display:none;" name="paixu" value="1">
			          <input type="hidden" style="display:none;" data-target="#msg_holder">
			          <div class="medicine-herb">
			              <div class="medicine-item">
				              	 	<label for="input-body-temperature" class="l-ibt-label"><span class="glyph-star">*</span> 剂数：</label>
				                  <input id="tieshu" type="text" class="m-inform" data-rule="剂数:required;range[1~];length(~2)" value="7" data-target="#msg_holder" name="tieshu"> 剂
				         </div>
				          <div class="medicine-item">
				              <label for="input-body-temperature"><span class="glyph-star">*</span> 每日剂数：
				                  <input type="number" class="m-inform" value="1" data-rule="每日剂数:required;range[0~];length(~2)" data-target="#msg_holder" id="input-body-weight" name="meirijl"> 剂
				              </label>
				         </div>
				         <div class="medicine-item dropdown-search-li">
				             <label class="l-heart-rhythm">
				               <span><span class="glyph-star">*</span> 用药频率：</span>
				              </label>
			                  <input class="m-inform yongyypl dropdown-toggle" id="yongyypl" name="yongyaopl" data-rule="草药用药频率:required;length(1~64)" data-target="#msg_holder" onfocus="getZDYongyaoplBymc(this)" onkeyup="getZDYongyaoplBymc(this)" value="每日2次(BID)">
			                  <ul class="dropdown-menu li-width f-input-li yongyyaoplul" id="yongfaul" style="display:none; margin-bottom:0;" role="menu">
						  	 </ul>
				        </div>
			             <div class="medicine-item mi-usage dropdown-search-li">
			               <span class="mitem-usage"><span class="glyph-star">*</span> 用法：</span>
			                 <input class="m-inform dropdown-toggle yongfa" name="yongfa" id="cy-yongfa2" data-rule="草药用法:required;length(1~64)" data-target="#msg_holder" value="煎服">
			                 <ul class="dropdown-menu li-width f-input-li yongfaul" id="yongfaul" style="display:none" role="menu">
						  	 </ul>
			            </div>
			           <div class="medicine-item medicine-item2x">
			               <label for="input-else" class="l-ielse" style="margin-left: -3px;">服用要求：</label>
			                <input type="text" class="m-inform" data-rule="用药频率:length(1~128)" data-target="#msg_holder" id="input-else" name="fuyongyq">
			           </div>
			     </div>
			     <div style="margin:0 auto;">
			      <table class="table" id="caoyaoyp" style="table-layout:fixed;">
			        <tbody>
			         <tr>
			        	<td class="zymb-number">饮片1：</td>
			         	<td class="zymb-td2 dropdown-search-li"><input type="text" class="wm-medicine-name dropdown-toggle yaopinmc cgmdc-input1" data-rule="药品名称:length(1~100)" data-target="#msg_holder" name="yaopinmc" onblur="yaowuxk(this)" onkeyup="getYaopin(this,1)">
			         	<div class="g-wmfinp-warning" data-container="body" data-toggle="popover" data-placement="bottom" data-content=""><i class="fa fa-exclamation-triangle" aria-hidden="true"></i></div>
			        	<div class="g-wmfinp-danger" data-container="body" data-toggle="popover" data-placement="bottom" data-content=""><i class="fa fa-exclamation-triangle" aria-hidden="true"></i></div>
			         	<ul class="dropdown-menu li-width f-input-li yaopinmcul" style="display:none" role="menu"></ul></td>
			         	<input type="hidden" class="wm-paixu" style="display:none;" name="paixu" value="&#39;+(len+1)+&#39;">
			            <td class="zymb-td3"><input type="text" placeholder="数量" class="wm-solo-dosage cgmdc-input2" name="danjiliang" data-rule="单剂量:range[0~];length(~8)" data-target="#msg_holder"><input class="wm-dosage dropdown-toggle cgmdc-input62" data-rule="单位:length(1~2)" autocomplete="off" data-target="#msg_holder" name="danwei" placeholder="单位" style="margin-left:5px;text-align: center;" readonly="">
						      <ul class="dropdown-menu li-width f-input-li kaiyaodw" style="display:none;width:70px;left:77px;" role="menu">
							   </ul>
			            </td>
			            <td class="zymb-td4">
			            	<input class="dropdown-toggle beizhujy" type="text" placeholder="备注" name="beizhu" data-rule="备注:length(1~100)" data-target="#msg_holder">
			            	<ul class="dropdown-menu li-width f-input-li dancijldw" style="display:none" role="menu">
			 					<li>已取</li>
					          	<li>口服</li>
		                 		<li>泡服</li>
		                 		<li>外用</li>
		                 		<li>先煎</li>
		                 		<li>后下</li>
		                 		<li>水煎</li>
		                 		<li>包煎</li>
		                 		<li>打碎</li>
		                 		<li>另包</li>
			 					<li>吞服</li>
			 					<li>另煎</li>
			 					<li>烊化</li>
			 					<li>冲服</li>
			 					<li>内服</li>
			 					<li>入丸</li>
						   </ul>
			            </td>
						<input type="hidden" style="display:none;" name="zhensuoypid">
				        <input type="hidden" style="display:none;" name="pingtaiypid">
				        <input type="hidden" style="display:none;" name="ptuuid">
						<input type="hidden" name="danjia" value="0">
						<input type="hidden" name="baozhuangdw">
			            <td class="zymb-td-remove"><span class="shanchu pointer3" data-container="body" data-toggle="popover" data-placement="bottom" data-content="清除本行"></span></td>
			          </tr>
					</tbody>
			      </table>
			  </div></div>
			  <div class="g-form-button clearfix" style="float:none;">
			    <button class="btn btn-success button" type="submit" id="btnSubmitc">保存</button>  
				<div class="btn btn-default btn-xymb-cancel button button1" type="button">取消</div>
 		  	  </div>
			</div>
	</form>	
</div>
<script type="text/javascript" src="../static/js/xinjianxymb.js"></script>
<script type="text/javascript"> 
</script>

</body></html>
